package com.example.springboot.model;

import java.util.Date;

public class Email {
    private Long id;

    private String title;

    private Boolean isNeedReplay;

    private Boolean isRead;

    private String accessoryAddr;

    private Date sendTime;

    private String sendAddr;

    private String reviceAddr;

    private Long customerId;

    private Integer type;

    private String messageId;

    private String emailContent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Boolean getIsNeedReplay() {
        return isNeedReplay;
    }

    public void setIsNeedReplay(Boolean isNeedReplay) {
        this.isNeedReplay = isNeedReplay;
    }

    public Boolean getIsRead() {
        return isRead;
    }

    public void setIsRead(Boolean isRead) {
        this.isRead = isRead;
    }

    public String getAccessoryAddr() {
        return accessoryAddr;
    }

    public void setAccessoryAddr(String accessoryAddr) {
        this.accessoryAddr = accessoryAddr == null ? null : accessoryAddr.trim();
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getSendAddr() {
        return sendAddr;
    }

    public void setSendAddr(String sendAddr) {
        this.sendAddr = sendAddr == null ? null : sendAddr.trim();
    }

    public String getReviceAddr() {
        return reviceAddr;
    }

    public void setReviceAddr(String reviceAddr) {
        this.reviceAddr = reviceAddr == null ? null : reviceAddr.trim();
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMessageId() {
        return messageId;
    }

    public void setMessageId(String messageId) {
        this.messageId = messageId == null ? null : messageId.trim();
    }

    public String getEmailContent() {
        return emailContent;
    }

    public void setEmailContent(String emailContent) {
        this.emailContent = emailContent == null ? null : emailContent.trim();
    }
}